

export const rulesForm = [
    {
        "type": "input", "field": "name", "value": "",
        title: "名称:",
        props: {
            placeholder: "请输入资金利息名称",
        },
        col: {
            span: 8,
            labelWidth: '140px'
        },
        class: "w-100",
        validate: [{ required: true, message: '请输入资金利息名称', trigger: ['blur', 'change'], },]
    },
    {
        type: 'el-col',
        title: "申请率:",
        col: {
            span: 8,
            labelWidth: '140px'
        },
        children: [
            {
                "type": "inputNumber", "field": "sqMin", "value": "",
                title: "",
                props: {
                    placeholder: "最小值",
                    min:0,
                    controlsPosition:'right'
                },
                col: {
                    span: 12,
                },
                class: "w-100",

            },
            {
                "type": "inputNumber", "field": "sqMax", "value": "",
                title: "",
                props: {
                    placeholder: "最大值",
                    min:0,
                    controlsPosition:'right'
                },
                col: {
                    span: 12,
                },
                class: "w-100 ml10",

            },
        ]

    },
    {
        "type": "select", "field": "storeId", "value": "",
        title: "门店:",
        props: {
            placeholder: "请选择门店",
        },
        col: {

            span: 8,
            labelWidth: '140px'
        },
        options: [],
        class: "w-100",
        validate: [{ required: true, message: '请选择门店', trigger: ['blur', 'change'], },]

    },
    {
        "type": "inputNumber", "field": "rzfwf", "value": "",
        title: "融资服务费:",
        props: {
            placeholder: "请输入融资服务费",
            min:0,
            controlsPosition:'right'
        },
        col: {
            span: 8, labelWidth: '140px'
        },
        class: "w-100",
    },


    {
        "type": "radio", "field": "status", "value": true,
        title: "状态:",
        props: {
            placeholder: "状态",

        },
        col: {

            span: 8,
            labelWidth: '140px'
        },
        options: [{
            label: '启用',
            value: true
        }, {
            label: '禁用',
            value: false
        }],
        class: "w-100",

    },

    {
        "type": "input", "field": "remark", "value": "",
        title: "备注:",
        props: {
            placeholder: "备注",
            type: 'textarea',
            rows: 3
        },
        col: {
            span: 24,
            labelWidth: '140px'
        },
        class: "w-100",

    },








]